package com.sean.designpatterns.behavioral.command.first;

public class Main {

    public static void main(String[] args) {
        Reveiver reveiver = new Reveiver();
        Invoker invoker = new Invoker(new ACommand(reveiver));
        invoker.RunCommand();
        invoker.setCommand(new BCommand(reveiver));
        invoker.RunCommand();
    }
}
